package com.nineclock.sign;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;


@SpringBootApplication
@EnableFeignClients(basePackages = "com.nineclock.system.feign")
@MapperScan(basePackages = "com.nineclock.sign.mapper")
@ServletComponentScan(value = {"com.nineclock.common.filter","com.ninecolck.system.pojo"}) // 扫描过滤器所在包
@EnableDiscoveryClient
public class NcSignApplication {
    public static void main(String[] args) {
        SpringApplication.run(NcSignApplication.class, args);
    }
}
